package xyz.suancaiyu.replacemethod;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 第3章 默认标签的解析
 * <p>
 * 3.1 bean标签的解析及注册
 * 3.1.1 解析BeanDefinition
 * ........ 5．解析子元素 replaced-method
 *
 * @author puruidong
 * @version 2019/2/25 22:01
 */
public class Main {

    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:beanFactory.xml");
        TestChangeMethod test = (TestChangeMethod) applicationContext.getBean("testChangeMethod");
        test.changeMe();


    }

}
